﻿using Chloe;
using ChloeUtil;
using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Police.BLL
{
    public class SysUserRoleBLL
    {
        private IQuery<SysUserRole> q = MySqlUtil.context.Query<SysUserRole>();

        public List<SysUserRole> Get(int UserId)
        {
            List<SysUserRole> models = q.Where(a => a.UserId == UserId).ToList();
            return models;
        }
    }
}
